<?php
class Youthor_Customer_Block_Form_Login extends Mage_Customer_Block_Form_Login
{
	public function getRegisterPostActionUrl()
    {
        return $this->helper('customer')->getRegisterPostUrl();
    }

    public function getFormData()
    {
        $data = $this->getData('form_data');
        if (is_null($data)) {
            $data = new Varien_Object(Mage::getSingleton('customer/session')->getCustomerFormData(true));
            $this->setData('form_data', $data);
        }
        return $data;
    }
}